.section ".text"

.globl _test
_test:
	/* Test 1 将 0x80200000 加载到a1寄存器 */
    addi sp,sp,-32

	sd a0, 24(sp)
	li a0, 0x80200000
	sd a1, 16(sp)
	addi a1, zero, 16
	sd a2, 8(sp)
	lw a2, 0(a0)
	sd a3, 0(sp)
	ld a3, 16(a0)

	ld a3, 0(sp)
	ld a2, 8(sp)
	ld a1, 16(sp)
	ld a0, 24(sp)
	addi sp,sp,32
	/* Test End */

	/* goto C */
	tail kernel_main
